runtime.p.runnext (field)
15 uses
runtime (current package)
metrics.go#L837: next := atomic.Loaduintptr((*uintptr)(&p.runnext))
proc.go#L4160: if mp.spinning && (pp.runnext != 0 || pp.runqhead != pp.runqtail) {
proc.go#L5959: if pp.runnext != 0 {
proc.go#L5960: globrunqputhead(pp.runnext.ptr())
proc.go#L5961: pp.runnext = 0
proc.go#L7455: runnext := atomic.Loaduintptr((*uintptr)(unsafe.Pointer(&pp.runnext)))
proc.go#L7496: oldnext := pp.runnext
proc.go#L7497: if !pp.runnext.cas(oldnext, guintptr(unsafe.Pointer(gp))) {
proc.go#L7600: next := pp.runnext
proc.go#L7604: if next != 0 && pp.runnext.cas(next, 0) {
proc.go#L7624: oldNext := pp.runnext
proc.go#L7625: if oldNext != 0 && pp.runnext.cas(oldNext, 0) {
proc.go#L7671: if next := pp.runnext; next != 0 {
proc.go#L7705: if !pp.runnext.cas(next, 0) {
runtime2.go#L818: runnext guintptr
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |